
    # C::B core plugins begin

    SectionGroup "Core Plugins" SECGRP_CORE_PLUGINS
        Section "AStyle plugin" SEC_ASTYLE
            SectionIn 1 2 4
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\astyle.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\astyle.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images\settings
            File ${CB_IMG_SETTINGS}\astyle-plugin.png
            File ${CB_IMG_SETTINGS}\astyle-plugin-off.png
        SectionEnd

        Section "Autosave plugin" SEC_AUTOSAVE
            SectionIn 1 2 3 4
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\autosave.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\autosave.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images\settings
            File ${CB_IMG_SETTINGS}\autosave.png
            File ${CB_IMG_SETTINGS}\autosave-off.png
        SectionEnd

        Section "Class Wizard plugin" SEC_CLASSWIZARD
            SectionIn 1 2
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\classwizard.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\classwizard.dll
        SectionEnd

        Section "Code Completion plugin" SEC_CODECOMPLETION
            SectionIn 1 2
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\codecompletion.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\codecompletion.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images\codecompletion
            File ${CB_IMAGES}\codecompletion\*.png
        SectionEnd

        Section "Compiler plugin" SEC_COMPILER
            SectionIn 1 2 3
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\compiler.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\compiler.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images
            File ${CB_IMAGES}\compile.png
            File ${CB_IMAGES}\compilerun.png
            File ${CB_IMAGES}\rebuild.png
            File ${CB_IMAGES}\run.png
            File ${CB_IMAGES}\stop.png
            SetOutPath $INSTDIR\share\CodeBlocks\images\settings
            File ${CB_IMG_SETTINGS}\compiler.png
            File ${CB_IMG_SETTINGS}\compiler-off.png
        SectionEnd

        Section "Debugger plugin" SEC_DEBUGGER
            SectionIn 1 2 3
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\debugger.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\debugger.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images
            File ${CB_IMAGES}\dbgnext.png
            File ${CB_IMAGES}\dbgrun.png
            File ${CB_IMAGES}\dbgrunto.png
            File ${CB_IMAGES}\dbgstep.png
            File ${CB_IMAGES}\dbgstop.png
            SetOutPath $INSTDIR\share\CodeBlocks\images\settings
            File ${CB_IMG_SETTINGS}\debugger.png
            File ${CB_IMG_SETTINGS}\debugger-off.png
        SectionEnd

        Section "MIME Handler plugin" SEC_MIMEHANDLER
            SectionIn 1 2 3 4
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\defaultmimehandler.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\defaultmimehandler.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images\settings
            File ${CB_IMG_SETTINGS}\extensions.png
            File ${CB_IMG_SETTINGS}\extensions-off.png
        SectionEnd

        Section "Open Files List plugin" SEC_OPENFILESLIST
            SectionIn 1 2 3 4
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\openfileslist.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\openfileslist.dll
        SectionEnd

        Section "Projects Importer plugin" SEC_PROJECTSIMPORTER
            SectionIn 1 2
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\projectsimporter.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\projectsimporter.dll
        SectionEnd

        Section "Scripted Wizard plugin" SEC_SCRIPTEDWIZARD
            SectionIn 1 2 3
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\scriptedwizard.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\scriptedwizard.dll
            SetOutPath $INSTDIR\share\CodeBlocks\templates\wizard
            File /r ${CB_WIZARD}\*.*
        SectionEnd

        Section "ToDo List plugin" SEC_TODOLIST
            SectionIn 1 2 3 4
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\todo.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\todo.dll
            SetOutPath $INSTDIR\share\CodeBlocks\images\settings
            File ${CB_IMG_SETTINGS}\todo.png
            File ${CB_IMG_SETTINGS}\todo-off.png
        SectionEnd

        Section "XP Look And Feel plugin" SEC_XPLOOKANDFEEL
            SectionIn 1 2
            SetOutPath $INSTDIR\share\CodeBlocks
            SetOverwrite on
            File ${CB_SHARE_CB}\xpmanifest.zip
            SetOutPath $INSTDIR\share\CodeBlocks\plugins
            File ${CB_PLUGINS}\xpmanifest.dll
        SectionEnd

    SectionGroupEnd

    # C::B core plugins end


